/*
 * @Author: 卡卡 1071780426@qq.com
 * @Date: 2023-09-14 12:31:39
 * @LastEditors: 卡卡 1071780426@qq.com
 * @LastEditTime: 2024-01-08 17:15:54
 * @FilePath: \mould\src\components\BehaViorManage\workYear\regexDetail.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
export default {

    //工作计划信息新增options
    formObj: [{
            input: true, //是input
            label: "计划编制单位", //字段
            prop: "fPreparacompanyname", //字段名
            width: 12, //参考el-col
            disabled: true, //是否禁用
            rules: [{
                required: true,
                message: '计划编制单位不能为空'
            }] //验证
        },

        {
            selects: true, //是input
            label: "计划类型", //字段
            prop: "fPlantype", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用

            options: [{
                    label: "目标责任书",
                    value: "目标责任书",
                },
                {
                    label: "月度计划",
                    value: "月度计划",
                },
                {
                    label: "检查计划",
                    value: "检查计划",
                },
                {
                    label: "培训计划",
                    value: "培训计划",
                },
            ],
            rules: [{
                required: true,
                message: '请选择计划类型'
            }] //验证
        },
        {
            input: true, //是input
            label: "计划编号", //字段
            prop: "fPlannumber", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '计划编号不能为空'
            }] //验证
        },
        {
            input: true, //是input
            label: "计划名称", //字段
            prop: "fPlanname", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '计划名称不能为空'
            }] //验证
        },
        {
            // value-format
            year1: true, //是input
            label: "隶属年度", //字段
            prop: "fAffiliationyear", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '请选择隶属年度'
            }] //验证
        },
        {
            selects: true, //是input
            label: "隶属月度", //字段
            prop: "fAffiliationmonth", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '请选择隶属月度'
            }], //验证
            options: [{
                    label: "/",
                    value: "/",
                },
                {
                    label: "1月份",
                    value: "1月份",
                },
                {
                    label: "2月份",
                    value: "2月份",
                },
                {
                    label: "3月份",
                    value: "3月份",
                }, {
                    label: "4月份",
                    value: "4月份",
                }, {
                    label: "5月份",
                    value: "5月份",
                }, {
                    label: "6月份",
                    value: "6月份",
                }, {
                    label: "7月份",
                    value: "7月份",
                }, {
                    label: "8月份",
                    value: "8月份",
                }, {
                    label: "9月份",
                    value: "9月份",
                }, {
                    label: "10月份",
                    value: "10月份",
                }, {
                    label: "11月份",
                    value: "11月份",
                }, {
                    label: "12月份",
                    value: "12月份",
                },
            ]
        },
        {
            textarea: true, //是input
            label: "关键计划简述", //字段
            prop: "fPlandescription", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '关键计划简述'
            }] //验证
        },
        {
            input: true, //是input
            label: "填报人", //字段
            prop: "fReportname", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '填报人不能为空'
            }] //验证
        },
        {
            datePicker: true, //是input
            label: "填报日期", //字段
            prop: "fReportdates", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '请选择填报日期'
            }] //验证
        },
        {
            label: "工作计划资料", //字段
            prop: "fWorkfile", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用
            upload: true,
            uploadSelect: true,
            uploadObj: {
                fileType: "2001",
                limit: 8, //上传长度限制
                hideUpload: false, //是否隐藏上传框
            },
            rules: [{
                required: true,
                message: '请上传工作计划资料'
            }] //验证
        },
        {




            select: true, //是input
            label: "提交审核人", //字段
            prop: "fSubcheckname", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用

            rules: [{
                required: true,
                message: '请选择传提交审核人'
            }], //验证
            options: []
        },


        {
            input: true, //是input  options: []
            label: "传阅人", //字段
            prop: "fCcpeople", //字段名
            // valueMultiple: [],
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '传阅人不能为空'
            }], //验证

        },
    ],
    //工作计划信息审核
    planReview: [{
            selects: true, //是input
            label: "审核结果", //字段
            prop: "fCheckstatus", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            placeholder: "请选择审核结果",
            options: [{
                    label: "内容详实，审核通过。",
                    value: "内容详实，审核通过。",
                },
                {
                    label: "内容不实，重新上报。",
                    value: "内容不实，重新上报。",
                }
            ],
            rules: [{
                required: true,
                message: '请选择审核结果'
            }] //验证
        },
        {
            input: true, //是input
            label: "审核说明", //字段
            prop: "fCheckdescription", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用

        },
        {
            input: true, //是input
            label: "审核人", //字段
            prop: "fCheckname", //字段名
            width: 12, //参考el-col
            disabled: true, //是否禁用
            rules: [{
                required: true,
                message: '审核人不能为空'
            }] //验证
        },
        {
            datePicker: true, //是input
            label: "审核时间", //字段
            prop: "fCheckdates", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '请选择审核时间'
            }] //验证
        },
    ],
    // 完成情况信息
    formFinishObj: [{
            input: true, //是input
            label: "资料编号", //字段
            prop: "fDatanumber", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '资料编号不能为空'
            }] //验证
        },
        {
            input: true, //是input
            label: "资料名称", //字段
            prop: "fDataname", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '资料名称不能为空'
            }] //验证
        },
        {
            textarea: true, //是input
            label: "完成关键内容简述", //字段
            prop: "fKeydescription", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '完成关键内容简述不能为空'
            }] //验证
        },
        {
            input: true, //是input
            label: "填报人", //字段
            prop: "fFinishreportname", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '填报人不能为空'
            }] //验证
        },
        {
            datePicker: true, //是input
            label: "填报日期", //字段
            prop: "fFinishreportdates", //字段名
            width: 12, //参考el-col
            disabled: true, //是否禁用
            rules: [{
                required: true,
                message: '请选择填报日期'
            }] //验证
        },
        {
            label: "工作完成资料", //字段
            prop: "fFinishfileurl", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用
            upload: true,
            uploadSelect: true,
            uploadObj: {
                fileType: "2001",
                limit: 8, //上传长度限制
                hideUpload: false, //是否隐藏上传框
            },
            rules: [{
                required: true,
                message: '请上传工作完成资料'
            }] //验证
        },
        {
            select: true, //是input
            label: "提交审核人", //字段
            prop: "fFinshsubcheckname", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '提交审核人不能为空'
            }], //验证
            options: []

        },
        {

            label: "传阅人", //字段
            prop: "fFinishccpeople", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '传阅人不能为空'
            }], //验证
            input: true,


        },



    ],
    // 完成情况信息审核
    planFinishReview: [{
            selects: true, //是input
            label: "审核结果", //字段
            prop: "fFinishcheckstatus", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            placeholder: "请选择审核结果",
            options: [{
                    label: "内容详实，审核通过。",
                    value: "内容详实，审核通过。",
                },
                {
                    label: "内容不实，重新上报。",
                    value: "内容不实，重新上报。",
                }
            ],
            rules: [{
                required: true,
                message: '请选择审核结果'
            }] //验证
        },
        {
            input: true, //是input
            label: "审核说明", //字段
            prop: "fFinishcheckdescription", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '审核说明不能为空'
            }] //验证
        },
        {
            input: true, //是input
            label: "审核人", //字段
            prop: "fFinshcheckname", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '审核人不能为空'
            }] //验证
        },
        {
            datePicker: true, //是input
            label: "审核时间", //字段
            prop: "fFinshcheckdates", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '请选择审核时间'
            }] //验证
        },
    ],
}